package cn.shopping.dao.login;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.shopping.pojo.Admin_type;
import cn.shopping.pojo.Admin_user;

public interface adminMapper {

	public Admin_user sellogin(@Param("roleName") String usercode);
	public List<Admin_type> selalltype();
	public List<Admin_user> selalladmin(@Param("role") int role);
	public Integer addadmins(Admin_user users);
	public Admin_user seladminbyid(@Param("id") Integer id);
	public Integer modifyguanliyuan(Admin_user users);
	public Integer deladmin(@Param("id") Integer id);
}
